'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {

		let res = await db.collection('uni-id-users').where({"_id": event.id}).update({
			"avatar": event.avatar
		})
		console.log(res)
	

};
